<div class="cat2">
<h3>свежие записи</h3>
</div>
    <div class="swidget">
	<?php query_posts("showposts=$ultra_post;"); ?>
					<?php while (have_posts()) : the_post(); ?>
  <ul>

			<li> 
			
							
						<?php $thumb = get_post_meta($post->ID, 'image', $single = true); ?>
<?php 
if($thumb !== '') { ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumb; ?>&w=30&h=30&zc=1&q=30" alt="<?php if($thumb_alt !== '') { echo $thumb_alt; } else { echo the_title(); } ?>" class="img3" /></a>
<?php }
else { echo ''; } ?>	
							
							
			<b><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title() ?></a></b><br />
		<span class="meta"><?php the_time(' jS F Y') ?> |  Комментарии: <?php comments_popup_link('0', '1 ', ' %'); ?> </span>
		
				<div style="clear:both;"></div>
				
					</li> 
			<?php endwhile; ?>
			</ul>

			</div> 